import request from '@/utils/request'

const prefix = "/api/callingCard"


export function info(teacherId) {
	return request({
		url: prefix + '/info/' + teacherId,
		method: 'get'
	})
}

export function post(data) {
	return request({
		url: prefix + '/add',
		method: 'post',
		data: data
	})
}


export function edit(data) {
	return request({
		url: prefix + '/edit',
		method: 'put',
		data: data
	})
}


export function path(teacherId) {
	return request({
		url: prefix + '/path/' + teacherId,
		method: 'get'
	})
}